package com.yjr.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yjr.common.utils.PageUtils;
import com.yjr.gulimall.product.entity.AttrGroupEntity;
import com.yjr.gulimall.product.vo.AttrGroupWithAttrsVO;
import com.yjr.gulimall.product.vo.SpuItemAttrGroupVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author yjr
 * @email 2608509744@qq.com
 * @date 2021-08-29 13:15:49
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);
    PageUtils queryPage(Map<String, Object> params,Long catelogId);

    List<AttrGroupWithAttrsVO> getAttrgroupWithAttrsByCatelogId(Long catelogId);

    List<SpuItemAttrGroupVo> getAttrGroupWithAttrsBySpuId(Long spuId,Long catalogId);
}

